package com.shj.em.biz.company.service;

import com.shj.em.biz.company.entity.Contact;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;
import java.util.Map;

/**
 * 联系人信息 服务类
 *
 * @author Shen Huang Jian
 * @since 2018-07-07
 */
public interface ContactService extends IService<Contact> {

    /**
     * 分页查询
     * @return
     */
    Page<Contact> queryContactPage(Map<String, Object> params);

    List<Contact> findContactsByCompanyId(Long companyId);

    boolean isMobileExist(String mobileNo);
}
